<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<%@taglib uri="/WEB-INF/dianning.tld" prefix="dianning"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="/css/top.css" rel="stylesheet" type="text/css" />
<link href="/css/foot.css" rel="stylesheet" type="text/css" />
<link href="/css/index.css" rel="stylesheet" type="text/css" />
<link href="/css/vip.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8" src="/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/jquery.checkbox.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/popup.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" type="images/gif" href="animated_favicon1.gif" />
<title>点宁网[<dianning:webinfo type="area"/>分类信息]<dianning:webinfo type="area"/>免费发布信息<dianning:webinfo type="poweredby"/></title>
<meta name="Description" content="<dianning:webinfo type="area"/>分类信息网为您提供<dianning:webinfo type="area"/>分类信息，您可以免费发布和查询求职招聘,兼职,房屋出租,二手市场,生活服务,兼职,黄页等分类信息."/>
<meta name="Keywords" content="<dianning:webinfo type="area"/>免费发布信息, <dianning:webinfo type="area"/>分类信息, <dianning:webinfo type="area"/>信息港, <dianning:webinfo type="area"/>热线, <dianning:webinfo type="area"/>免费发布广告，<dianning:webinfo type="area"/>114"/>
</head>
<body>
<div class="bgtop">
<s:include value="/top.jsp" />
</div>

<div class="content">
<s:include value="/WEB-INF/jsp/user/left.jsp" />
<div class="vipr">
	<h2>我收到的留言<a href="message.action?action=outbox" style="margin:0px 20px;">我发送的留言</a></h2>
	  <ul class="viprheight">
<DIV class=gr_info>
<DIV class=c></DIV>
<TABLE class=basetb border=0 cellSpacing=0 cellPadding=0 width="100%">
  <TBODY>

  <TR id=tablehead>
    <TH width="24">&nbsp; </TH>
	<TH width="20">&nbsp; </TH>
    <TH width="109">发件人</TH>
    <th width="378">消息内容 </th>
    <th width="118">更新时间 </th>
    <th width="64" class="tit_cz">操作 </th>
    <TH width="7" class=tit_cz>&nbsp;</TH>
  </TR>
<s:iterator id="m" value="%{pageList.objectList}" status="st" >
  <TR id="display_<s:property value="#m.id"/>">
    <TD class=binp>
		<INPUT id="infoid_<s:property value="#m.id"/>" value="<s:property value="#m.id"/>" type="checkbox" name="infoid" />
	</TD>
	<TD>
	<s:if test="#m.isnew==1">
	  <img src="/images/icoMail.gif" align="middle" id="imgIsread" title="未读" />
	  </s:if>
	  <s:else>
	  <img src="/images/icoMailOpen.gif" align="middle" id="imgIsread" title="已读" />
	  </s:else>
	</TD>
    <TD>
      <DIV><A href="javascript:sendMsg('<s:property value="#m.toUserInfo.username"/>');"><s:property value="#m.toUserInfo.username"/></A></DIV></TD>
    <td><div><a href="javascript:sendMsg('<s:property value="#m.toUserInfo.username"/>');"><s:property value="#m.message"/></a></div></td>
    <td><s:date name="#m.addTime" format="yyyy-MM-dd HH:mm"/></td>
    <td><div class="cza"><a 
      href="javascript:delinfo(<s:property value="#m.id"/>)">删除</a></div></td>
    <TD>&nbsp;</TD>
  </TR>
</s:iterator>
</TBODY></TABLE>
<DIV class=c></DIV>
<DIV class=area_cz3>
<DIV id=page><SPAN id=ctl00_ListPager1></SPAN></DIV>
<SPAN 
style="COLOR: red" id=spanTipForReflash></SPAN><SPAN 
id=ctl00_cphMain_InfoFL1List1_UPager1>
<dianning:pages value="%{pageList.pages}"/>
</SPAN> </DIV>
<DIV class=c></DIV>
</DIV>
  </ul>
      <h3></h3>
    </div>
    </div>
<div class="content">
<s:include value="/foot.jsp" />
</div>
<script language=javascript>
function delinfo(id)
{
  if (confirm('确认删除吗？')){
  alert(id);
  $.get("message.action?action=del&id=" + id,null,function(data){$('#display_' + id).css({display:'none'});});
  }
}
function sendMsg(username){ 
		openshow('message.action?action=add&username='+username,'发送短消息',true,500,410,1);
}
</script>
</body>
</html>
